package com.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.project.bean.LogBean;
import com.project.bean.SellDetailBean;
import com.project.bean.SellOrderBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ISellOrderMapper extends BaseMapper<SellOrderBean> {
    /**
     * 通过销售订单id查明细，每个明细包含商品名和品牌
     * @param sellOrderId
     * @return
     */
    List<SellDetailBean> findBySellOrderId(@Param("sellOrderId") Integer sellOrderId);
}
